from django.contrib import admin
from django.urls import path,include
from rest_framework.routers import DefaultRouter
from .views import ClassificationViewSet,CommodityViewSet,ShoppingCartViewSet,OrderViewSet,PaymentViewSet
urlpatterns = [

]
router = DefaultRouter()
router.register('classifications', ClassificationViewSet)
router.register('commoditys', CommodityViewSet)
router.register('cart', ShoppingCartViewSet)
router.register('order', OrderViewSet)
router.register('payments', PaymentViewSet)
urlpatterns += router.urls